package com.bw.miaosha.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.bw.miaosha.entity.GoodsEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author: 朱财艺
 * @date : 2022/02/22
 * @Description:
 */
@Data
public class MiaoshaActivityVo {
    @TableId
    private Long id;

    @TableField(exist = false)
    private List<GoodsEntity> list;
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 秒杀价
     */
    private BigDecimal miaoshaPrice;
    /**
     * 库存数量
     */
    private Integer stockCount;
    /**
     * 秒杀开始时间
     */
    private Date startDate;
    /**
     * 秒杀结束时间
     */
    private Date endDate;
}
